package com.product.statemachine.order.executor;

import com.product.statemachine.common.executor.DomainStateEventExecutor;
import com.product.statemachine.order.entity.OrderEntity;
import com.product.statemachine.order.event.OrderPayEvent;
import org.springframework.stereotype.Component;

/**
 * @author caoxingming
 */
@Component
public class OrderPayEventExecutor implements DomainStateEventExecutor<OrderEntity, OrderPayEvent> {

    @Override
    public void before(OrderEntity domain, OrderPayEvent event) {

    }

    @Override
    public void execute(OrderEntity domain, OrderPayEvent event) {

    }

    @Override
    public void after(OrderEntity domain, OrderPayEvent event) {

    }
}
